[IA64] Fix initial value of cr.pta
authorAlex Williamson <alex.williamson@hp.com>
Thu, 5 Apr 2007 15:26:54 +0000 (09:26 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Thu, 5 Apr 2007 15:26:54 +0000 (09:26 -0600)
commitbccead27ffbc9f18308f153c8b0b14aa0ed697a5
tree6e60675d46ddf8952d01a7c1d1a1f9707eeb7071
parentf6944502399bea6e833e3a855b76b1f2c4368ab8
[IA64] Fix initial value of cr.pta

The initial value of cr.pta in a vcpu is zero. So a Reserved
Register/Field fault is raised if a guest executes the following
sequence:

    mov r2=cr.pta;;
    ...
    mov cr.pta=r2

Actually, the windows installer with vcpus>=3 crashes due to this
issue.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
xen/arch/ia64/xen/vcpu.c